package com.blue.exame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 试题表
 * @TableName questions
 */
@TableName(value ="questions")
@Data
public class Questions implements Serializable {
    /**
     * 试题唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 题干内容
     */
    private String questionContent;

    /**
     * 题型
     */
    private Integer questionType;

    /**
     * 选项内容
     */
    private String options;

    /**
     * 正确答案
     */
    private String correctAnswer;

    /**
     * 试题分值
     */
    private Integer score;

    /**
     * 所属考试ID
     */
    private Integer examId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}